package com.ourteam.product.requirement.dao;

import net.dao.IDataAccessInterface;


/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 CST 2017
 * Auto Generate Date : 2018-05-03 16:45:12
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public interface IBaseProductRoleRelateDAO extends IDataAccessInterface<ProductRoleRelate, ProductRoleRelateDAOQueryBean> {
    /**
        *  Mapped Entity Name
        */
    static final String EntityName = "PRODUCT_ROLE_RELATE";

    /**
     * Mapped Field ID
    */
    static final String Id = "PRODUCT_ROLE_RELATE.ID";

    /**
     * Mapped Field PRODUCT_ROLE_DEFINE_ID
    */
    static final String ProductRoleDefineId = "PRODUCT_ROLE_RELATE.PRODUCT_ROLE_DEFINE_ID";

    /**
     * Mapped Field PRODUCT_ELEMENT_ID
    */
    static final String ProductElementId = "PRODUCT_ROLE_RELATE.PRODUCT_ELEMENT_ID";

    /**
     * Mapped Field PRODUCT_ELEMENT_TYPE
    */
    static final String ProductElementType = "PRODUCT_ROLE_RELATE.PRODUCT_ELEMENT_TYPE";

    /**
     * Mapped Field STATUS
    */
    static final String Status = "PRODUCT_ROLE_RELATE.STATUS";

    /**
     * Mapped Field REMARKS
    */
    static final String Remarks = "PRODUCT_ROLE_RELATE.REMARKS";

    /**
     * Mapped Attribute roleName
    */
    static final String RoleName = org.apache.commons.lang.StringUtils.replace(com.ourteam.product.requirement.dao.IProductRoleDefineDAO.RoleName,
            com.ourteam.product.requirement.dao.IProductRoleDefineDAO.EntityName +
            ".", "RELATED_N8266U_ProductRoleDefine.");

    /**
     * Delete Data
     * @param final long id
     * @throws Exception
     */
    void delete(final long id) throws Exception;

    /**
         * Find Data By Primary Key
         * @param  final long id
         * @throws Exception
         */
    ProductRoleRelate findById(final long id) throws Exception;

    static public interface DataProperty {
        /**
         * Attribute id
         */
        static final String Id = "id";

        /**
         * Attribute productRoleDefineId
         */
        static final String ProductRoleDefineId = "productRoleDefineId";

        /**
         * Attribute productElementId
         */
        static final String ProductElementId = "productElementId";

        /**
         * Attribute productElementType
         */
        static final String ProductElementType = "productElementType";

        /**
         * Attribute status
         */
        static final String Status = "status";

        /**
         * Attribute remarks
         */
        static final String Remarks = "remarks";

        /**
         * Attribute roleName
         */
        static final String RoleName = "roleName";
    }

    static public interface _DataObjectProperty extends DataProperty {
    }
}
